package com.heima.client.user;

import com.heima.model.common.dtos.ArticleInfoDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author Geralt
 * @Date 2024-08-02 16:48
 */
@FeignClient("leadnews-user")
public interface IUserClient {
    /**
     * 查询用户关注信息
     * @param articleInfoDto
     * @return
     */
    @PostMapping("/api/v1/user/query_userFollow")
    ResponseResult queryUserFollow(@RequestBody ArticleInfoDto articleInfoDto);
}
